<?php

namespace app\api\controller;

use think\Db;
use think\Request;

class Explore extends Common
{
	public function index()
	{
		$data = Db::name('explore')->where(['is_hidden'=>0, 'sys_channel'=>getenv('APP_CHANNEL')])->field('title, icon, url')->order('sort desc')->select();
		return $this->pass($data);
	}
}